extends Node2D

func _ready() -> void:
	%TimeScaleSpinBox.value = TimeManager.time_scale

func _process(delta: float) -> void:
	$Label2.text = "当前时间：" + str(int(TimeManager.time * 100) / 100.0)

func _on_button_pressed() -> void:
	TimeManager.skip_time(%SpinBox.value)

func _on_spin_box_value_changed(value: float) -> void:
	TimeManager.time_scale = value
